import { useAuthService } from '../../api/service'

export function useAuth() {
  const { isLoggedIn, user, logout } = useAuthService()

  return {
    isLoggedIn,
    user,
    logout
  }
}

